#include "SDL_Init.h"

class Button
{
    private:
    //The attributes of the button
    SDL_Rect box;

	bool MOUSE_OVER;
	bool MOUSE_DOWN;

    ////The part of the button sprite sheet that will be shown
    //SDL_Rect* clip;

	SDL_Surface* buttondisplay;

    public:
    //Initialize the variables
    Button( int x, int y, int w, int h );

    //Handles seEvents and set the button's sprite region
    void handle_seEvents(SDL_Event*);

	bool load_buttonimage(char*);

    //Shows the button on the screen
    void show(SDL_Surface*);

	bool is_buttondown(){return MOUSE_DOWN;}
};